package com.yjf.service.impl;

import com.yjf.pojo.LagouAuthCode;
import com.yjf.repository.LagouAuthCodeRepository;
import com.yjf.service.IServiceCodeService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @author Administrator 岳剑飞
 * @date
 * @description:
 */
@Service
public class SendEmailServiceImpl implements IServiceCodeService {
    @Autowired
    private LagouAuthCodeRepository lagouAuthCodeRepository;

    @Override
    public List<LagouAuthCode> findAuthCodeByEmail(String email) {
        return lagouAuthCodeRepository.findAuthCodeByEmail(email);
    }
}
